package com.topone.repository;

import com.topone.dataObject.ConvenientInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/12/31,0031.
 */
@Repository
public interface ConvenientInfoRepository extends JpaRepository<ConvenientInfo,String>{
    Page<ConvenientInfo> findByConvenientStatusNot(Integer ConvenientStatus, Pageable pageable);

    List<ConvenientInfo> findByConvenientStatus(Integer convenientStatus);

}
